<?php

namespace app\api\controller;

use app\common\controller\Api;
use app\common\model\BehaviorCategory;
use app\common\model\BehaviorRecord;
use EasyWeChat\Foundation\Application;

/**
 * 配置
 *
 * Class Config
 * User zhenzihan
 * Date 2020/5/11
 * @package app\api\controller
 */
class Config extends Api
{
    protected $noNeedLogin = ["*"];
    protected $noNeedRight = ['*'];

    /**
     * @ApiTitle    (人脸识别配置)
     * @ApiAuthor   (Zhenzh)
     * @ApiDate     (2020/5/11)
     * @ApiSummary  (status 0关闭 1开启)
     * @ApiBody     ()
     * @ApiMethod   (POST)
     * @ApiRoute    (/api/config/face)
     * @ApiHeaders  (name="token", type="string", required=true, description="请求的Token")
     * @ApiReturnParams   (name="code", type="integer", required=true, description="状态码 1正常 0错误", sample="1")
     * @ApiReturnParams   (name="msg", type="string", required=true, sample="返回成功")
     * @ApiReturnParams   (name="data", type="object", description="扩展数据返回", sample="")
     * @ApiReturn ()
     */
    public function face()
    {
        $data = ['status' => 0];
        $this->success('', $data);
    }
}
